package com.victor.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.victor.dao.RechargeDao;
import com.victor.entity.Recharge;
import com.victor.service.RechargeService;


@Service
public class RechargeServiceimpl implements RechargeService{
	@Autowired
	private RechargeDao rechargeDao;
	public boolean upStatus(String orderNumber) {
		//更改充值订单状态
		return rechargeDao.upStatus(orderNumber);
	}

	public Recharge query(String orderNumber) {
		// TODO Auto-generated method stub
		return rechargeDao.query(orderNumber);
	}

	public boolean add(Recharge recharge){
		return rechargeDao.add(recharge);
	}

}
